package com.ymttest.common.entitie;

import java.math.BigDecimal;

import com.ymatou.query.trading.api.parameter.ProductPromotion;

public class ProductInfo {
	// 订单号
	private int iOrderId;

	// 购买商品数量
	private int iAmount;

	// 商品ID
	private String sProductId;

	// 商品属性
	private String sPropertyInfo;

	// 物流类型
	private int iCatalogStatus;

	// 区分价格是VIP还是新客价
	private int iPriceType;

	private String sPictureUrl;
	
	/**
	 * 商品名称
	 */
	private String sTitle;

	private int iActivityId;

	private BigDecimal fOriginalPrice;

	private Integer iBondedArea;

	private String sCatalogId;

	private Integer iTariffType;

	private int iProductRefundChannel;

	private Integer iProductRefundStatus;

	private String sPackageNo;

	private String sProductInfo;

	private Integer iSalesType;

	private BigDecimal fProductPrice;

	private BigDecimal fProductOriginalPrice;

	private ProductPromotion Promotion;

	
	
	public int getiOrderId() {
		return iOrderId;
	}



	public void setiOrderId(int iOrderId) {
		this.iOrderId = iOrderId;
	}



	public int getiAmount() {
		return iAmount;
	}



	public void setiAmount(int iAmount) {
		this.iAmount = iAmount;
	}



	public String getsProductId() {
		return sProductId;
	}



	public void setsProductId(String sProductId) {
		this.sProductId = sProductId;
	}



	public String getsPropertyInfo() {
		return sPropertyInfo;
	}



	public void setsPropertyInfo(String sPropertyInfo) {
		this.sPropertyInfo = sPropertyInfo;
	}



	public int getiCatalogStatus() {
		return iCatalogStatus;
	}



	public void setiCatalogStatus(int iCatalogStatus) {
		this.iCatalogStatus = iCatalogStatus;
	}



	public int getiPriceType() {
		return iPriceType;
	}



	public void setiPriceType(int iPriceType) {
		this.iPriceType = iPriceType;
	}



	public String getsPictureUrl() {
		return sPictureUrl;
	}



	public void setsPictureUrl(String sPictureUrl) {
		this.sPictureUrl = sPictureUrl;
	}


	/**
	 * 获取商品名称
	 * @return
	 */
	public String getsTitle() {
		return sTitle;
	}



	public void setsTitle(String sTitle) {
		this.sTitle = sTitle;
	}



	public int getiActivityId() {
		return iActivityId;
	}



	public void setiActivityId(int iActivityId) {
		this.iActivityId = iActivityId;
	}



	public BigDecimal getfOriginalPrice() {
		return fOriginalPrice;
	}



	public void setfOriginalPrice(BigDecimal fOriginalPrice) {
		this.fOriginalPrice = fOriginalPrice;
	}



	public Integer getiBondedArea() {
		return iBondedArea;
	}



	public void setiBondedArea(Integer iBondedArea) {
		this.iBondedArea = iBondedArea;
	}



	public String getsCatalogId() {
		return sCatalogId;
	}



	public void setsCatalogId(String sCatalogId) {
		this.sCatalogId = sCatalogId;
	}



	public Integer getiTariffType() {
		return iTariffType;
	}



	public void setiTariffType(Integer iTariffType) {
		this.iTariffType = iTariffType;
	}



	public int getiProductRefundChannel() {
		return iProductRefundChannel;
	}



	public void setiProductRefundChannel(int iProductRefundChannel) {
		this.iProductRefundChannel = iProductRefundChannel;
	}



	public Integer getiProductRefundStatus() {
		return iProductRefundStatus;
	}



	public void setiProductRefundStatus(Integer iProductRefundStatus) {
		this.iProductRefundStatus = iProductRefundStatus;
	}



	public String getsPackageNo() {
		return sPackageNo;
	}



	public void setsPackageNo(String sPackageNo) {
		this.sPackageNo = sPackageNo;
	}



	public String getsProductInfo() {
		return sProductInfo;
	}



	public void setsProductInfo(String sProductInfo) {
		this.sProductInfo = sProductInfo;
	}



	public Integer getiSalesType() {
		return iSalesType;
	}



	public void setiSalesType(Integer iSalesType) {
		this.iSalesType = iSalesType;
	}



	public BigDecimal getfProductPrice() {
		return fProductPrice;
	}



	public void setfProductPrice(BigDecimal fProductPrice) {
		this.fProductPrice = fProductPrice;
	}



	public BigDecimal getfProductOriginalPrice() {
		return fProductOriginalPrice;
	}



	public void setfProductOriginalPrice(BigDecimal fProductOriginalPrice) {
		this.fProductOriginalPrice = fProductOriginalPrice;
	}



	public ProductPromotion getPromotion() {
		return Promotion;
	}



	public void setPromotion(ProductPromotion promotion) {
		Promotion = promotion;
	}



	public static class ProductInfoExt extends ProductInfo {
		private BigDecimal fSellerCouponAmount;
		private BigDecimal fYmtCouponAmount;
		private BigDecimal fFreight;
		// 促销:活动ID
		private Integer PromotionId;
		// 促销:活动类型
		private Integer PromotionType;
		// 促销:活动名称
		private String PromotionName;
		// 促销:条件
		private String MatchCondition;
		// 促销金额
		private String PromotionValue;
		// 促销:商品分摊金额
		private BigDecimal fSellerPromotionAmount;
		// 应用该优惠时，共优惠的金额
		private BigDecimal ReducedAmount;
		// 是否支持7天无条件退款
		private boolean bSupportRtnWithoutReason;
		// 包邮
		private Boolean bFreightFree;
		public BigDecimal getfSellerCouponAmount() {
			return fSellerCouponAmount;
		}
		public void setfSellerCouponAmount(BigDecimal fSellerCouponAmount) {
			this.fSellerCouponAmount = fSellerCouponAmount;
		}
		public BigDecimal getfYmtCouponAmount() {
			return fYmtCouponAmount;
		}
		public void setfYmtCouponAmount(BigDecimal fYmtCouponAmount) {
			this.fYmtCouponAmount = fYmtCouponAmount;
		}
		public BigDecimal getfFreight() {
			return fFreight;
		}
		public void setfFreight(BigDecimal fFreight) {
			this.fFreight = fFreight;
		}
		public Integer getPromotionId() {
			return PromotionId;
		}
		public void setPromotionId(Integer promotionId) {
			PromotionId = promotionId;
		}
		public Integer getPromotionType() {
			return PromotionType;
		}
		public void setPromotionType(Integer promotionType) {
			PromotionType = promotionType;
		}
		public String getPromotionName() {
			return PromotionName;
		}
		public void setPromotionName(String promotionName) {
			PromotionName = promotionName;
		}
		public String getMatchCondition() {
			return MatchCondition;
		}
		public void setMatchCondition(String matchCondition) {
			MatchCondition = matchCondition;
		}
		public String getPromotionValue() {
			return PromotionValue;
		}
		public void setPromotionValue(String promotionValue) {
			PromotionValue = promotionValue;
		}
		public BigDecimal getfSellerPromotionAmount() {
			return fSellerPromotionAmount;
		}
		public void setfSellerPromotionAmount(BigDecimal fSellerPromotionAmount) {
			this.fSellerPromotionAmount = fSellerPromotionAmount;
		}
		public BigDecimal getReducedAmount() {
			return ReducedAmount;
		}
		public void setReducedAmount(BigDecimal reducedAmount) {
			ReducedAmount = reducedAmount;
		}
		public boolean isbSupportRtnWithoutReason() {
			return bSupportRtnWithoutReason;
		}
		public void setbSupportRtnWithoutReason(boolean bSupportRtnWithoutReason) {
			this.bSupportRtnWithoutReason = bSupportRtnWithoutReason;
		}
		public Boolean getbFreightFree() {
			return bFreightFree;
		}
		public void setbFreightFree(Boolean bFreightFree) {
			this.bFreightFree = bFreightFree;
		}
		
		
	}
}